package top.forgirl.mapper;

import org.springframework.stereotype.Repository;
import top.forgirl.domain.Company;

import java.util.List;

@Repository
public interface CompanyMapper {

    List<Company> list();

    Company select(String cid);

    int delete(Company company);

    int insert(Company company);

    int update(Company company);

    Company selectByRelation(String relation);
}
